In this tutorial I will show you how to redirect http to https in Godaddy Plesk/Windows.
If you added SSL secure certificated to your website. You need to redirect the visitors from http version to the secured version (HTTPS) to ensure their information is secured.
Many of them getting struggled to redirect http to https in godaddy windows cpanel. So this tutorial may help.
Redirect http to https cpanel/windows hosting
If you are a windows based user you can handle the redirection using web.config file.
In web.config under the system.webserver tag.
COPY and PASTE the Following code:
<system.webServer>
<rewrite>
<rules>
<rule name="HTTPto HTTPS redirect" stopProcessing="true">
<match url="(.*)"/>
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true"/>
</conditions>
<action type="Redirect" redirectType="Permanent" url="https://{HTTP_HOST}/{R:1}"/>
</rule>
</rules>
</rewrite>
</system.webServer>
How to get free trusted ssl certificate for Godaddy domains?
Post your comments / questions
Recent Article
- The request was aborted: Could not create SSL/TLS secure channel -Error in Asp.net
- FieldError: Cannot resolve keyword 'id' into field in Django project
- How to hide the ID field from the Django admin?
- It is impossible to add a non nullable field without specifying a default. Django error
- ImportError: cannot import name 'url' from 'django.conf.urls' - Django Error
- How to Enable Virtualization in BIOS Security Settings in Intel Processors For Android Studio?
- Dependency 'androidx.activity:activity:1.8.0' requires libraries and applications that depend on it.
- AttributeError: 'NoneType' object has no attribute 'get_text' - Python
Related Article